package com.book_management.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiangqian
 * @date 2022/12/2 16:56
 * @description:
 */
@TableName("sys_user_role")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户角色表")
public class SysUserRole {

    @ApiModelProperty("用户Id")
    private Long userId;

    @ApiModelProperty("角色Id")
    private Integer roleId;
}
